//
//  AppDelegate.m
//  GSDemo
//
//  Created by ZFJMAC on 2022/7/23.
//

#import "AppDelegate.h"
#import "GSHomeViewController.h"

@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    // Override point for customization after application launch.
    GSHomeViewController *hvc = [[GSHomeViewController alloc] init];
    UINavigationController *tabC = [[UINavigationController alloc] initWithRootViewController:hvc];
    self.window.rootViewController = tabC;
    
    return YES;
}

- (UIWindow *)window{
    if (_window == nil) {
        _window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
        _window.backgroundColor = UIColor.whiteColor;
    }
    return _window;
}


@end
